home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d21 / qw12.exe / QWHITE12.EXE / DBASE.TEC < prev    next >
Text File  |  1990-08-30  |  3KB  |  55 lines

  1. ID:DB dBase III Plus and IV Colors
  2. DESQview Technical Note:
  3. by Stan Young
  4.  
  5. dBASE III Plus and dBASE IV use the TopView/DESQview call to write 
  6. to DESQview's screen buffer and therefore can be run in a small 
  7. window and in the background.
  8.  
  9. Unfortunately, when the dBASE developers implemented the call, they 
  10. used a TopView function called "Logical Colors" incorrectly.  As a 
  11. result, when you run dBASE with the "Writes Directly to Screen" 
  12. option turned off, dBASE will not display the colors that you 
  13. select with the "SET COLOR TO" option.  When dBASE is run with the 
  14. default color scheme and is running in the ASSIST mode, the menu 
  15. bars do not display highlighting properly.
  16.  
  17. The most drastic way to cause dBASE to display the screen correctly is 
  18. to run DESQview's "Change a Program" and turn on the options "Writes
  19. Directly to Screen" and "Runs Only in Foreground." Using this 
  20. configuration, colors in dBASE will appear exactly as they do in DOS.  
  21. Unfortunately, this prevents the program from processing in a small 
  22. window and running properly in the background unless you are running 
  23. on a 386 machine, in which case DESQview can virtualize the screen.
  24.  
  25. If you don't have to set specific colors, however, there is another 
  26. solution that will result in a pleasant, readable set of colors that 
  27. will run properly in a window and background:
  28.  
  29. FIRST -  Edit the CONFIG.DB file (in your dBASE directory) and change 
  30. the line that says "COMMAND = ASSIST" to:
  31.  
  32.      COMMAND = DO DESQVIEW
  33.  
  34. NEXT  -  Using a word processor capable of producing ASCII files (such 
  35. as you would use to write batch files), make a file called 
  36. DESQVIEW.PRG and place it in the dBASE directory.  The file should 
  37. contain the following two lines followed by a blank line:
  38.  
  39.      SET COLOR TO
  40.      ASSIST
  41.  
  42. When you run dBASE, dBASE will now automatically run the DESQVIEW.PRG 
  43. file.  This provides a pleasant set of colors, although not exactly 
  44. the default colors that it should provide.  You may then use the 
  45. DESQview option to change the colors further, if you like, by 
  46. selecting "Rearrange" and "Colors" from the DESQview main menu. 
  47.  
  48. Let me restate that this problem occurs because of what amounts to a 
  49. dBASE III Plus and dBASE IV "bug" in their TopView/DESQview 
  50. routines.  Since we support these routines, the problem only shows 
  51. up when you are running in DESQview or TopView. 
  52.  
  53.         Copyright (C) 1990 by Quarterdeck Office Systems
  54.              * * *   E N D   O F   F I L E    * * * 
  55.